package com.android.happymall.model.detail;

/**
 * Created by Administrator on 2017/7/11.
 */

public class wchatpaydone {


    /**
     * msg : 生成订单成功，请前往支付!
     * data : {"order_sn":"2016092655545454"}
     * flag : true
     * code : 0
     * time : 1474856940
     */

    private String msg;
    /**
     * order_sn : 2016092655545454
     */

    private wchatpaydone.DataBean data;
    private boolean flag;
    private int code;
    private int time;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public wchatpaydone.DataBean getData() {
        return data;
    }

    public void setData(wchatpaydone.DataBean data) {
        this.data = data;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        /*订单号*/
        private String order_sn;
        /*订单金额*/
        private String order_amount;
        /*团id*/
        private String common_id;

        public String getCommon_id() {
            return common_id;
        }

        public void setCommon_id(String common_id) {
            this.common_id = common_id;
        }

        /*支付id*/
        private String log_id;
        /*支付单号*/
        private String out_trade_no;
        /*支付封装参数  直接请求*/
        private wchatpaydone.PaymentBean payment;

        public String getOrder_amount() {
            return order_amount;
        }

        public void setOrder_amount(String order_amount) {
            this.order_amount = order_amount;
        }

        public String getLog_id() {
            return log_id;
        }

        public void setLog_id(String log_id) {
            this.log_id = log_id;
        }

        public wchatpaydone.PaymentBean getPayment() {
            return payment;
        }

        public void setPayment(wchatpaydone.PaymentBean payment) {
            this.payment = payment;
        }

        public String getOut_trade_no() {
            return out_trade_no;
        }

        public void setOut_trade_no(String out_trade_no) {
            this.out_trade_no = out_trade_no;
        }

        public String getOrder_sn() {
            return order_sn;
        }

        public void setOrder_sn(String order_sn) {
            this.order_sn = order_sn;
        }
    }

    public static class PaymentBean {
        /*应用id*/
        private String appid;
        /*商户号*/
        private String partnerid;
        /*预支付交易会话id*/
        private String prepayid;
        /*扩展字段*/
        private String wxpackage;
        /*随机字符串*/
        private String noncestr;
        /*时间戳*/
        private String timestamp;
        /*签名*/
        private String sign;

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public String getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(String timestamp) {
            this.timestamp = timestamp;
        }

        public String getNoncestr() {
            return noncestr;
        }

        public void setNoncestr(String noncestr) {
            this.noncestr = noncestr;
        }

        public String getWxpackage() {
            return wxpackage;
        }

        public void setWxpackage(String wxpackage) {
            this.wxpackage = wxpackage;
        }

        public String getPrepayid() {
            return prepayid;
        }

        public void setPrepayid(String prepayid) {
            this.prepayid = prepayid;
        }

        public String getPartnerid() {
            return partnerid;
        }

        public void setPartnerid(String partnerid) {
            this.partnerid = partnerid;
        }
    }
}

